package com.zxkj.commonpatrol.model.response;

import java.util.List;

public class DevTypeExtendInfo {
    public List<DeviceProperty> DevPropertys;  //设备的自定义属性

    public List<Questions> Quests;  //根据设备类型获取的问题集list

    public List<DeviceProperty> getDevPropertys() {
        return DevPropertys;
    }

    public void setDevPropertys(List<DeviceProperty> devPropertys) {
        DevPropertys = devPropertys;
    }

    public List<Questions> getQuests() {
        return Quests;
    }

    public void setQuests(List<Questions> quests) {
        Quests = quests;
    }

    public static class DeviceProperty {
        public String Code;    //属性编号
        public String Name;   //属性名称
        public int Type;    //属性类型(0:input  1:datetime 2:Combox)
        public int Index;    //UI上摆放顺序(从0开始)

        public String getCode() {
            return Code;
        }

        public void setCode(String code) {
            Code = code;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public int getType() {
            return Type;
        }

        public void setType(int type) {
            Type = type;
        }

        public int getIndex() {
            return Index;
        }

        public void setIndex(int index) {
            Index = index;
        }

        public List<String> getData() {
            return Data;
        }

        public void setData(List<String> data) {
            Data = data;
        }

        public String getValue() {
            return Value;
        }

        public void setValue(String value) {
            Value = value;
        }

        public List<String> Data;   //当为Combox时，此字段保存Combox下拉数据
        public String Value;   //属性值


    }
    public static class Questions {
        public String QuestsCode;    //问题集编号

        public String getQuestsCode() {
            return QuestsCode;
        }

        public void setQuestsCode(String questsCode) {
            QuestsCode = questsCode;
        }

        public String getQuestsName() {
            return QuestsName;
        }

        public void setQuestsName(String questsName) {
            QuestsName = questsName;
        }

        public List<QuestionItem> getQuesItems() {
            return QuesItems;
        }

        public void setQuesItems(List<QuestionItem> quesItems) {
            QuesItems = quesItems;
        }

        public String QuestsName;   //问题集名称
        public List<QuestionItem> QuesItems;   //问题集所包含的问题

        public static class QuestionItem{
            public String Code;    //问题编号
            public String Name;   //问题名称

            public String getCode() {
                return Code;
            }

            public void setCode(String code) {
                Code = code;
            }

            public String getName() {
                return Name;
            }

            public void setName(String name) {
                Name = name;
            }

            public int getIndex() {
                return Index;
            }

            public void setIndex(int index) {
                Index = index;
            }

            public String getTips() {
                return Tips;
            }

            public void setTips(String tips) {
                Tips = tips;
            }

            public int Index;    //问题在UI上的显示顺序
            public String Tips;    //问题Tips

        }



    }

    }

